<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
<title>Example: Create a pop-up window</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</HEAD>

<BODY>
<h1>Example: Create a pop-up window</h1>

<!--COOL DISCOVERY! You can add a line break to the popup text by using \n. Just in case this feature is still around for 2.0, this should be documented.-->

<p>Using the HTML Help ActiveX control, you can create a pop-up window that appears when a user clicks a specific word, phrase, or graphic in a topic. This example is based on the TextPopup method.</p>

<p>The steps of the process are as follows:</p>
<ol>
<li>
<a href="ocx_scripts_popup1.htm">Write the text for the pop-up window.</a></li>
<li><a href="ocx_scripts_popup2.htm">Insert the HTML Help ActiveX control in your HTML file.</a></li>
<li><a href="ocx_scripts_popup3.htm">Create a hyperlink to open the pop-up window.</a></li>
</ol>

<h3>Notes</h3>
<ul>
<li>You can use this example with both uncompiled HTML files and  compiled help (.chm) files.</li>

<li>This procedure cannot be used to create context-sensitive help topics that users open through an external program.</li>
</ul>

<br>
<table border="0" cellpadding="0" cellspacing="4">
<tr> 
<td valign="top"><a href="ocx_scripts.htm"><img src="home.gif" alt="link to overview topic" border="0"></a>
</td>
<td><a href="ocx_scripts.htm">About the script and DHTML examples</A>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>

</BODY>
</HTML>
